package org.rails.core.model;

import java.util.ArrayList;
import java.util.List;

import org.rails.core.model.attribute.Attribute;

@SuppressWarnings("serial")
public class RecordException extends Exception {
	
	private List<Attribute> attributes = new ArrayList<Attribute>();

	public RecordException(List<Attribute> attributes,String message) {
		super(message);
		this.attributes = attributes;
	}

	
	public List<Attribute> getAttributes(){
		return attributes;
	}


}
